home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / rcsdoc.zip / MERGE.TXT < prev    next >
Text File  |  1991-11-10  |  3KB  |  66 lines

  1.  
  2.  
  3. MERGE(1)                   Unix Programmer's Manual                   MERGE(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      merge - three-way file merge
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      mmmeeerrrgggeee [ ---LLL _l_a_b_e_l_1 [ ---LLL _l_a_b_e_l_3 ] ] [ ---ppp ] [ ---qqq ] _f_i_l_e_1 _f_i_l_e_2 _f_i_l_e_3
  11.  
  12. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  13.      mmmeeerrrgggeee incorporates all changes that lead from _f_i_l_e_2 to _f_i_l_e_3 into  _f_i_l_e_1.
  14.      The  result  goes  to  standard  output  if  ---ppp  is  present,  into _f_i_l_e_1
  15.      otherwise.   mmmeeerrrgggeee  is  useful  for  combining  separate  changes  to  an
  16.      original.   Suppose  _f_i_l_e_2  is the original, and both _f_i_l_e_1 and _f_i_l_e_3 are
  17.      modifications of _f_i_l_e_2.  Then mmmeeerrrgggeee combines both changes.
  18.  
  19.      An overlap occurs if both _f_i_l_e_1  and  _f_i_l_e_3  have  changes  in  a  common
  20.      segment  of  lines.   mmmeeerrrgggeee  outputs  a message if overlaps occurred, and
  21.      includes both alternatives in the result.  The alternatives are delimited
  22.      as follows:
  23.  
  24.           <<<<<<<<<<<<<<<<<<<<< _f_i_l_e_1
  25.           _l_i_n_e_s _i_n _f_i_l_e_1
  26.           =====================
  27.           _l_i_n_e_s _i_n _f_i_l_e_3
  28.           >>>>>>>>>>>>>>>>>>>>> _f_i_l_e_3
  29.  
  30.      If there are overlaps, the user should edit the result and delete one  of
  31.      the  alternatives.   If  the ---LLL\ _l_a_b_e_l_1 and ---LLL\ _l_a_b_e_l_3 options are given,
  32.      the labels are output in place of the names _f_i_l_e_1 and  _f_i_l_e_3  in  overlap
  33.      reports.  Any overlap message is suppressed if the ---qqq option is given.
  34.  
  35. DDDIIIAAAGGGNNNOOOSSSTTTIIICCCSSS
  36.      Exit status is 0 for no overlaps, 1 for some overlaps, 2 for trouble.
  37.  
  38. IIIDDDEEENNNTTTIIIFFFIIICCCAAATTTIIIOOONNN
  39.      Author: Walter F. Tichy.
  40.      Revision Number: 5.1; Release Date: 1990/08/29.
  41.      Copyright (c) 1982, 1988, 1989 by Walter F. Tichy.
  42.      Copyright (c) 1990 by Paul Eggert.
  43.  
  44. SSSEEEEEE AAALLLSSSOOO
  45.      diff3(1), diff(1), rcsmerge(1), co(1).
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                     \*(Dt                                    1
  65.  
  66.